package com.itheima.clientAndService01;

import java.util.HashMap;
import java.util.Map;
import java.util.Set;

public class MainClass03 {
    public static void main(String[] args) {
        Map<String,String> map = new HashMap<>();
        map.put("heima001","张三");
        map.put("heima002","李四");
        map.put("heima003","王五");
        map.put("heima004","王五");

        Set<String> keys = map.keySet();
        for (String key : keys) {
            String vaule = map.get(key);
            System.out.println(key + "----" + vaule);
        }
    }
}
